package model

import "github.com/dgrijalva/jwt-go"

// BlogPost 定义了博客文章的结构
type BlogPost struct {
	ID      int    `json:"id"`
	Title   string `json:"title"`
	Content string `json:"content"`
	Author  string `json:"author"`
}

type Claims struct {
	Username string `json:"username"`
	jwt.StandardClaims
}
